-- GENERATED SPELL FOR [Historian Karnik] --


function spell0_2916(pUnit, Event) --@Summon Hammertoe\'s Spirit,Self--
pUnit:FullCastSpellOnTarget(4985,pUnit)
pUnit:RegisterEvent('Sorts_2916', 614, 1)
end

function Sorts_2916(pUnit, Event)
local choix_sorts_2916 = math.random(0, 0)
if choix_sorts_2916 == 0 then
pUnit:RegisterEvent('spell0_2916', 1, 1)
end
end

function mob2916_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2916', math.random(1500, 3000), 1)
end

function mob2916_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2916_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2916_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2916, 1, 'mob2916_Action')
RegisterUnitEvent(2916, 2, 'mob2916_Leave')
RegisterUnitEvent(2916, 3, 'mob2916_Kill')
RegisterUnitEvent(2916, 4, 'mob2916_Die')
